package com.iot.jurisdiction.testDemo;

import org.springframework.util.DigestUtils;

public class test1 {
    public static void main(String[] args) {
        String salt = "123456";
        String pswd = "guest"+salt;

        String saltPswd = DigestUtils.md5DigestAsHex(pswd.getBytes());
        System.out.println(saltPswd);
		System.out.println(saltPswd);
    }
}
